package com.example.im_voice2word;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        findViewById(R.id.img_record).setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
                Intent  i = new Intent(MainActivity.this, Main2Activity.class);
                System.out.println("-----------"+i+"\n"+"-----------");
                startActivity(i);
                }
        });


        }
}
